export interface IRecursiveTreeNode {
  id: string | number;
  label: string;
  data?: IData; // 单个节点对应的原始数据
  children?: IRecursiveTreeNode[]; // 内部显示用 children
  isLeaf?: boolean;
  loading?: boolean;
  loaded?: boolean;
  parent?: IRecursiveTreeNode | null;
  level: number;
}

export type NodeDropType = 'before' | 'after' | 'inner' | 'none';

export type AllowDropType = 'inner' | 'prev' | 'next';
